package com.cloud.api.upms.domain.role;

import cn.hutool.core.util.StrUtil;
import com.cloud.common.core.result.Page;
import lombok.Data;

/**
 * Author:  xuanning
 * Date:    2023/2/9 14:27
 */
@Data
public class RoleListReq {
    /**
     * 角色名称
     */
    private String roleName;
    /**
     *角色编码
     */
    private String roleCode;

    private Page page=new Page();

    public String getRoleName() {
        if(StrUtil.isBlank(roleName)){
            roleName=null;
        }
        return roleName;
    }

    public String getRoleCode() {
        if(StrUtil.isBlank(roleCode)){
            roleCode=null;
        }
        return roleCode;
    }
}
